let routerArr = [
    {
        path: '/',
        redirect: '/discoverMusic/recommend'
    },
    {
        path: '/discoverMusic',
        component: () => import('@/views/discoverMusic/index.vue'),
        name: 'discoverMusic',
        title:'发现音乐',
        redirect:'/discoverMusic/recommend',
        meta:{
            hidden:false
        },
        children:[
            {
                path:'/discoverMusic/recommend',
                component:() =>import('@/views/discoverMusic/recommend/index.vue'),
                title:'推荐',
                meta:{
                    hidden:false
                },
            },
            {
                path:'/discoverMusic/list',
                component:() =>import('@/views/discoverMusic/list/index.vue'),
                title:'歌单',
                meta:{
                    hidden:false
                },
            },
            {
                path:'/discoverMusic/playLists',
                component:() =>import('@/views/discoverMusic/playLists/index.vue'),
                title:'排行榜',
                meta:{
                    hidden:false
                },
            },
            {
                path:'/discoverMusic/anchorRadio',
                component:() =>import('@/views/discoverMusic/anchorRadio/index.vue'),
                title:'主播电台',
                meta:{
                    hidden:false
                },
            },
            {
                path:'/discoverMusic/singer',
                component:() =>import('@/views/discoverMusic/singer/index.vue'),
                title:'歌手',
                meta:{
                    hidden:false
                },
            },
            {
                path:'/discoverMusic/newDisc',
                component:() =>import('@/views/discoverMusic/newDisc/index.vue'),
                title:'新碟上架',
                meta:{
                    hidden:false
                },
            },
            {
                path: '/discoverMusic/playListDetail',
                component: () => import('@/views/playListDetail/index.vue'),
                name: 'playListDetail',
                title:'歌单详情',
                meta:{
                    hidden:true
                },
            },
        ]
    },
    {
        path: '/myMusic',
        component: () => import('@/views/myMusic/index.vue'),
        name: 'myMusic',
        title:'我的音乐',
        meta:{
            hidden:false
        },
    },
    {
        path: '/concern',
        component: () => import('@/views/concern/index.vue'),
        name: 'concern',
        title:'关注',
        meta:{
            hidden:false
        },
    },
    {
        path: '/shoppingMusic',
        component: () => import('@/views/shoppingMusic/index.vue'),
        name: 'shoppingMusic',
        title:'商城',
        meta:{
            hidden:false
        },
    },
    {
        path: '/Musicians',
        component: () => import('@/views/Musicians/index.vue'),
        name: 'Musicians',
        title:'音乐人',
        meta:{
            hidden:false
        },
    },
    {
        path: '/downloadClient',
        component: () => import('@/views/downloadClient/index.vue'),
        name: 'downloadClient',
        title:'下载客户端',
        meta:{
            hidden:false
        },
    },
]

export default routerArr